package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.entity.Reservation;
import com.zzyl.vo.ReservationSel;

import java.util.List;

public interface CustomerReservationService {
    Integer getCancelledReservationCount(Long userId);

    List<ReservationSel> getCountByTime(Long userId);

    void addReservation(Reservation reservation);

    PageResponse<Reservation> queryReservationByPage(Integer pageNum, Integer pageSize, Integer status);

    void delReservationStatus(Long id);
}
